<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>小小聊天-登录</title>
</head>
<body>
<div class="login_page">
    <label>
     用户名称:
    <input type="text" name="login_name" value=""  placeholder="请填写登录名称！"/>
    </label>
    <br/>
    <label>
        用户密码
        <input type="password" name="login_password" value=""  placeholder="请填写登录密码！"/>
    </label><br/>
    <button type="button" class="chat_login">登录</button><button type="button" class="chat_register">注册</button>
</div>
<script src='//cdn.bootcss.com/socket.io/1.3.7/socket.io.js'></script>
<script src="https://cdn.bootcss.com/jquery/2.2.4/jquery.min.js"></script>
{load href="/static/layer/theme/default/layer.css,/static/layer/layer.js,/static/socketHandler.js" /}

<script>
    var dom     =['chat_login','chat_register'];
    var otherUri={
        registerJumpUri:"{:url('register','',true,true)}",
        loginJumpChatUri:"{:url('chat','',true,true)}",
    };
    socketHandler._init(dom,otherUri);
</script>
</body>
</html>